#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLineEdit>
#include <QVBoxLayout>
#include <QWidget>
#include <QString>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
   virtual void showw ();
  QLineEdit lineedit;
QVBoxLayout layout;
QWidget widget;

private:
    Ui::MainWindow *ui;
};


class child:public MainWindow
{
public:

   void showw(int a,int b);
};

#endif // MAINWINDOW_H
